<template>
    <div>
      <dog
      v-for="(item,index) in list" :key="index"
      :tupian="item.dogImgUrl"
      :name="item.dogName"
      ></dog>
    </div>
</template>

<script>
  import dog from './components/mdog.vue'
export default {
  data() {
    return {
      list: [
        {
          dogImgUrl:
            "http://nwzimg.wezhan.cn/contents/sitefiles2029/10146688/images/21129958.jpg",
          dogName: "博美",
        },
        {
          dogImgUrl:
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fn.sinaimg.cn%2Fsinacn%2Fw451h609%2F20171210%2F23d5-fypnsip5430145.jpg&refer=http%3A%2F%2Fn.sinaimg.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666441212&t=a843369241d22e5bedb269706614ed62",
          dogName: "泰迪",
        },
        {
          dogImgUrl:
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fi.lianglituku.com%2Fup%2F84%2Fc7%2F7e%2Fda84537e71e02a58529b0d27477ec784.jpg&refer=http%3A%2F%2Fi.lianglituku.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666441326&t=71cd56ecec814a93e2805ebda76123f6",
          dogName: "金毛",
        },
        {
          dogImgUrl:
            "https://pic1.zhimg.com/80/v2-7ba4342e6fedb9c5f3726eb0888867da_1440w.jpg?source=1940ef5c",
          dogName: "哈士奇",
        },
        {
          dogImgUrl:
            "https://gimg2.baidu.com/image_search/src=http%3A%2F%2Finews.gtimg.com%2Fnewsapp_bt%2F0%2F4213116305%2F1000.jpg&refer=http%3A%2F%2Finews.gtimg.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1666441364&t=32320cdab4f008e2908f74d1b4bf90be",
          dogName: "阿拉斯加",
        },
        {
          dogImgUrl:
            "https://img1.baidu.com/it/u=2319667896,2332863488&fm=253&fmt=auto&app=138&f=JPG?w=500&h=889",
          dogName: "萨摩耶",
        },
      ]
    }
  },
  components:{
    dog
  }
}
</script>

<style>

</style>